Migrate to Android DayNight Theme, fix Light Theme, minor UI improvements#5927
Migrate to Android DayNight Theme, fix Light Theme, minor UI improvements#5927TobiGr merged 40 commits intoTeamNewPipe:devfrom
Conversation
|
@krlvm thank you for this huge improvement! It does have many benefits. :-D @TobiGr I'd give priority to this PR, is would be painful to rebase 300 files ;-) |
In fact, this number is not scary, I just renamed all files like Important changes are in:
Also got rid of icons in |
Stypox
left a comment
There was a problem hiding this comment.
Looks mostly good to me, I also tested a little bit and everything seems fine. Thank you! :-D
app/src/main/java/org/schabi/newpipe/local/subscription/item/FeedImportExportItem.kt
Outdated
Show resolved
Hide resolved
…eedImportExportItem.kt Co-authored-by: Stypox <stypox@pm.me>
@krlvm Under white theme:
|
|
The icons of the items in "Settings -> Content -> Content of main page -> + -> Kiosk page" are white under white theme, even though they should be black. This is not caused by your PR, but if it's not an issue please fix it while you are at it ;-) |
|
Should be fixed now |
|
Can't reproduce the last issue, two others were fixed |
AppCompatImageButton ignores "tint" theme attribute on API 19, therefore, they had to be specified directly, these attributes can be removed after the KitKat support is dropped.
|
I'm actually really excited for this PR (DayNight usage is something I've wanted for quite a while, plus no more themed drawables). Hoping as many bugs as possible will be ironed out before merge-time :) |
|
actually it appears this is already ironed out alot? Why not merge it and let it test with the RC for the next release? |
|
I cannot find any more problems on the last two versions of Android, which I use, at least in the most used activities, but additional flaws on API 19 may be revealed. Anyway, thanks for taking the time to find those problems that I could not discover before opening the PR. |
|
Did anyone test this on a TV? |
|
@TobiGr I didn't think of that, I'm going to test now on an emulator |
|
I tested again, even on an emulated TV (API 29), and couldn't find anything wrong, both in white and dark/black theme. I think this can be merged, since potential problems would anyway only be color problems, not usability issues. |
|
Release build failed: |
Try replacing |
Migrate to Android DayNight Theme, fix Light Theme, minor UI improvements











What is it?
Description of the changes in your PR
_whiteand_blackassets have been separated indrawableanddrawable-night,ThemeHelper.resolveResourceIdFromAttris no longer used - it should improve the overall performance, but I did not run benchmarksFixes the following issue(s)
APK testing
On the website the APK can be found by going to the "Checks" tab below the title and then on "artifacts" on the right.
Due diligence